﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Common="clr-namespace:WpfRcp.Core.Common;assembly=WpfRcp.Core">
    
    <DataTemplate DataType="{x:Type Common:BasicToolTipContent}">
        <StackPanel>
            <Label FontWeight="Bold" Foreground="#4C4C4C" Content="{Binding Path=Header}" />
            <TextBlock Padding="8" TextWrapping="WrapWithOverflow" Width="220" Text="{Binding Path=Content}" />

        </StackPanel>
    </DataTemplate>

    <DataTemplate DataType="{x:Type Common:ToolTipContent}">
        <StackPanel>
            <Label FontWeight="Bold" Foreground="#4C4C4C" Content="{Binding Path=Header}" />
            <TextBlock Padding="8" TextWrapping="WrapWithOverflow" Width="220" Text="{Binding Path=Content}" />

            <Rectangle Stroke="DarkGray" StrokeThickness="1" Height="1" HorizontalAlignment="Stretch" />

            <StackPanel Margin="0,5,0,0" Orientation="Horizontal">

                <Image Margin="0,0,3,0" Source="../Images/help.png" Height="16" Width="16" VerticalAlignment="Center" />
                <Label FontWeight="Bold" FontSize="11" Foreground="#4C4C4C" VerticalAlignment="Center"
                        Content="{Binding Path=Help}" />

            </StackPanel>
        </StackPanel>
    </DataTemplate>
    
</ResourceDictionary>